package api_task

import (
	"Sailor/app/Sailor-console-server/internal/service"
	"context"

	"Sailor/app/Sailor-console-server/api/api_task/v1"
)

func (c *ControllerV1) TaskRunOne(ctx context.Context, req *v1.TaskRunOneReq) (res *v1.TaskRunOneRes, err error) {
	return service.Task().LogicTaskRunOne(ctx, req)
}
